/*---------------------------------------------------------------------*/
/* --- STC MCU Limited ------------------------------------------------*/
/* --- STC 1T Series MCU Demo Programme -------------------------------*/
/* --- Mobile: (86)13922805190 ----------------------------------------*/
/* --- Fax: 86-0513-55012956,55012947,55012969 ------------------------*/
/* --- Tel: 86-0513-55012928,55012929,55012966 ------------------------*/
/* --- Web: www.STCMCU.com --------------------------------------------*/
/* --- Web: www.STCMCUDATA.com  ---------------------------------------*/
/* --- QQ:  800003751 -------------------------------------------------*/
/* ���Ҫ�ڳ�����ʹ�ô˴���,���ڳ�����ע��ʹ����STC�����ϼ�����            */
/*---------------------------------------------------------------------*/

#ifndef		__CONFIG_H
#define		__CONFIG_H

/*********************************************************/

#define MAIN_Fosc		24000000L	//������ʱ��
//#define MAIN_Fosc		22118400L	//������ʱ��
//#define MAIN_Fosc		12000000L	//������ʱ��
//#define MAIN_Fosc		11059200L	//������ʱ��
//#define MAIN_Fosc		 5529600L	//������ʱ��
//#define MAIN_Fosc		24000000L	//������ʱ��

// #define STC8Hxx		//STC8Hϵ��
#define STC8Gxx		//STC8Gϵ��
#define LED P54
#define LED_ON  LED=0
#define LED_OFF LED=1
#define LED_TOGGLE LED=~LED
#define SWITCH P55
#define SWITCH_ON  SWITCH=1
#define SWITCH_OFF SWITCH=0
/*********************************************************/

#include	"STC8xxxx.H"

void	GPIO_config(void);
void	UART_config(void);

#endif
